import { createApp } from 'vue'
import './style.css'
import App from './App.vue'
import launcher from 'vue-launchers'
import "vue-launchers/lib/style.css";
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'

const app = createApp(App);

// 使用 vue-launchers 插件
app.use(launcher);
app.use(ElementPlus)
app.mount('#app').$nextTick(() => {
  // 使用 contextBridge
  window.ipcRenderer.on('main-process-message', (_event, message) => {
    console.log(message);
  });
});
